package STUDENT.NGUYENDUCPHU.OOPs_EXCERCISES.Array.EX10;

public class Models {
public int[] diem(DiemObject object){
	int[] Total=new int[object.getArray().length];
	
	
	for (int i = 0; i < object.getArray().length; i++) {
		int dem=0;
		for (int j = 0; j < object.getArray()[i].length; j++) {
			

			if(object.getArray()[i][j].equals(object.getdArray()[j])){
				
				dem++;
				Total[i]=dem;
				
			
			
		
		}
				
		}
	}
	
	return Total;
	
}
}
